<?php
/* general strings */
define (CABLE_VERSION,						'3.0.4');
define (CABLE_LANGUAGE,						'en-USA');

/* error strings */
define (CABLE_ERROR_PAGE_TITLE,				'CABLE Error');
define (CABLE_ERROR_CONFIG_MISSING,			'The config.ini file could not be found.');
define (CABLE_ERROR_CONFIG_UNREADABLE,		'The config.ini file could not be parsed.');

define (CABLE_ERROR_CACHE_WRITABLE,			'The content could not be cached.');
define (CABLE_ERROR_CACHE_LOCK,				'The cache file could not be locked for writing.');

define (CABLE_ERROR_PLUGIN_MISSING,			'The plugin \'<id>\' could not be found.');
define (CABLE_ERROR_PLUGIN_CONFIG,			'The plugin \'<id>\' configuration file could not be read.');
define (CABLE_ERROR_PLUGIN_NOLOAD,			'The plugin function \'<id>\' could not be found.');
define (CABLE_ERROR_PLUGIN_NOEXECUTE,		'The plugin \'<id>\' could not be executed.');
define (CABLE_ERROR_PLUGIN_INTERNAL,		'The plugin \'<id1>\' returned an error: \'<id2>\'.');
define (CABLE_ERROR_PLUGIN_VERSION,			'The plugin \'<id>\' is not compatible with this version of CABLE.');
define (CABLE_ERROR_PLUGIN_CONNECTOR,		'The plugin \'<id>\' was called with a missing or malformed data connector.');

define (CABLE_ERROR_DATABASE_NC,			'A connection to the database could not be made.');
define (CABLE_ERROR_DATABASE_CLOSE,			'The connection to the database could not closed.');
define (CABLE_ERROR_DATABASE_REQUEST,		'A database failure has occured: <id>');
define (CABLE_ERROR_CALENDAR_RECORD,		'Could not retrieve calendar timestamp \'<id>\' from database.');
define (CABLE_ERROR_ENTRY_RECORD,			'Could not retrieve entry timestamp \'<id>\' from database.');
define (CABLE_ERROR_COMMENT_RECORD,			'Could not retrieve comment id \'<id>\' from database.');
define (CABLE_ERROR_USER_RECORD,			'Could not retrieve username \'<id>\' from database.');

define (CABLE_ERROR_TEMPLATE_VERSION,		'The template \'<id>\' is not compatible with this version of CABLE.');
define (CABLE_ERROR_TEMPLATE_MISSING,		'The template \'<id>\' could not be found.');
define (CABLE_ERROR_TEMPLATE_FILE,			'The template file \'<id>\' could not be found.');
define (CABLE_ERROR_BODY_TEMPLATE_CONTENT,	'The body template \'Content\' tag could not be found.');
define (CABLE_ERROR_BODY_TEMPLATE_CSS,		'The body template \'CSS\' tag could not be found.');
define (CABLE_ERROR_BODY_TEMPLATE_JS,		'The body template \'JS\' tag could not be found.');
define (CABLE_ERROR_TEMPLATE_CHILD,			'The template child \'<id1>\' could not be found in template \'<id2>\' .');
define (CABLE_ERROR_TEMPLATE_INSERT,		'The template insert \'<id>\' could not be found.');
define (CABLE_ERROR_TEMPLATE_BOOL,			'The template boolean \'<id>\' could not be found.');
define (CABLE_ERROR_TEMPLATE_VALUE,			'The template value \'<id>\' could not be found.');

define (CABLE_ERROR_AUTHOR_MISSING,			'The author \'<id>\' could not be found in the database.');
define (CABLE_ERROR_PARSER_MISSING,			'The plugin function \'<id>\' could not be found.');

/* information strings */
define (CABLE_PLUGIN_LOADED,				'The plugin \'<id>\' has been loaded.');
define (CABLE_PLUGIN_ABORT,					'The plugin \'<id>\' has aborted.');

define (CABLE_CACHE_READERROR,				'Error reading cache file.');
define (CABLE_CACHE_DISCARDED,				'Cache outdated, discarded.');
define (CABLE_CACHE_INAPPLICABLE,			'Cache inapplicable, recreating.');
define (CABLE_CACHE_READ,					'Cache successfully read.');
define (CABLE_CACHE_WRITTEN,				'Content successfully cached.');
define (CABLE_CACHE_MEMORY,					'Content too outdated to cache.');

define (CABLE_COOKIE_DEFAULT,				'The cookie \'<id>\' could not be found, using defaults.');
define (CABLE_COOKIE_SAVED,					'Cookies saved.');
define (CABLE_COOKIE_DELETED,				'Cookies deleted.');

?>